﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ZLCMS.Web.Example
{
    public partial class BaiduMap : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UC_BaiduMap1.JingDu = "113.25259";
                UC_BaiduMap1.WeiDu = "23.147465";

                //可以设置控件为只读模式
                //UC_BaiduMap1.ReadOnly = true;
            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            string j = UC_BaiduMap1.JingDu;
            string w = UC_BaiduMap1.WeiDu;
        }
    }
}
